package com.groupbuying.payproducer.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.groupbuying.payproducer.dao.PayCurpayResultDao;
import com.groupbuying.payproducer.domain.PayCurpayResultDO;
import com.groupbuying.payproducer.service.PayCurpayResultService;



@Service
public class PayCurpayResultServiceImpl implements PayCurpayResultService {
	@Autowired
	private PayCurpayResultDao payCurpayResultDao;
	
	@Override
	public PayCurpayResultDO get(String id){
		return payCurpayResultDao.get(id);
	}
	
	@Override
	public List<PayCurpayResultDO> list(Map<String, Object> map){
		return payCurpayResultDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return payCurpayResultDao.count(map);
	}
	
	@Override
	public int save(PayCurpayResultDO payCurpayResult){
		return payCurpayResultDao.save(payCurpayResult);
	}
	
	@Override
	public int update(PayCurpayResultDO payCurpayResult){
		return payCurpayResultDao.update(payCurpayResult);
	}
	
	@Override
	public int remove(String id){
		return payCurpayResultDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return payCurpayResultDao.batchRemove(ids);
	}
	
}
